<script lang="ts" setup>
defineProps({
  text: {
    type: String,
    default: '暂无数据'
  }

})
</script>

<template>
  <div class="no-data-box-inner">
    <el-empty :description="text" />
  </div>
</template>

<style scoped lang="scss">

  .no-data-box-inner{
    @include hor-group(center) ;
    pointer-events:none;
    position:absolute ;
    width:100%;
    height:100%;
    overflow:hidden;

    :deep(.el-empty){
      padding: 0 !important;
    }
  }
</style>
